﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using WDTAsg2.DbBizObject;


namespace WDTAsg2
{
    public partial class FAQ : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {

        }


        protected void btnSearch_Click(object sender, EventArgs e)
        {
            // Update list view
            lvFAQ.DataSource = FAQInfo.GetFAQResults(txtSearch.Text);
            lvFAQ.DataBind();
            searchSTR.Text = txtSearch.Text;

        }
    }
}